package com.lvmama.pangolin.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.lvmama.pangolin.entity.BlackIPConditionVO;
import com.lvmama.pangolin.entity.IPListConditionVO;
import com.lvmama.pangolin.entity.IP;
import com.lvmama.pangolin.entity.IpBlack;

public interface IPService {
	/**   
	* @Title: IPService.java  
	* @Description: TODO(用一句话描述该文件做什么) 
	* @author ZhouTianQi   
	* @date 2017年1月19日 上午10:38:06 
	* @version V1.0   
	 * @throws Exception 
	*/
	
	public PageInfo<IP> getIPList(IPListConditionVO iPListConditionVO) throws Exception;
	public List<IP> queryIPOrderByid(Map<String,Object> param)  throws Exception;
	public int updateIPStatusByid(IP ip);
	public int deleteUnvalidIP(IP ip);
	public int insertProxyIP(IP ip) throws Exception;
	public int insertProxyIPBatch(List<IP> list) throws Exception;
	public PageInfo<IpBlack> getBlackIPList(BlackIPConditionVO blackIPConditionVO) throws Exception;
	public int insertBlackIP(String ip,String available,String remark) throws Exception;
}
